<?php
namespace Admin\Controller;
use Admin\Controller;

class IndexController extends BaseController{

    public function index(){
        $model = M('Member');
        $post = M('List');
        $this->member_num = $model->count();
        $map['appnum']  = array('NEQ','0');
        $this->xin_num = $model->where($map)->count();

        $data['accesskey']  = array('nEQ','');
        $this->dai_num = $model->where($data)->count();

        $this->com_num = $post->count();
        $this->display();
    }
}
